//引入Mock
import Mock from "mockjs";
//引入banner
import banner from "@/mock/banner";
//引入floor
import floor from "@/mock/floor";

//使用mock拦截aixos请求
Mock.mock("/mock-api/banner", "get", () => {
  return {
    code: 200,
    data: banner, //数据
  };
});
Mock.mock("/mock-api/floor", "get", () => {
  return {
    code: 200,
    data: floor, //数据
  };
});
